package com.ygqh.baby.service.wechat.model.good;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.List;

/**
 * 好物圈——快递信息
 *
 * @Author: sunshuo
 * @Date: 2019/5/21 11:59
 * @Version: 1.0
 */
public class GoodExpress implements Serializable {

	private static final long serialVersionUID = -3458056785292771105L;

	/**
	 * 收件人姓名		非必填
	 */
	private String name;

	/**
	 * 收件人联系电话		非必填
	 */
	private String phone;

	/**
	 * 收件人地址		非必填
	 */
	private String address;

	/**
	 * 运费，单位：分		必填
	 */
	private long price;

	/**
	 * 行政区划代码		非必填
	 */
	private String nationalCode;

	/**
	 * 国家		非必填
	 */
	private String country;

	/**
	 * 省份		非必填
	 */
	private String province;

	/**
	 * 城市		非必填
	 */
	private String city;

	/**
	 * 区		非必填
	 */
	private String district;

	/**
	 * 包裹中的物品信息		非必填
	 */
	private List<GoodExpressPackage> expressPackageInfoList;

	@JSONField(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@JSONField(name = "phone")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@JSONField(name = "address")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@JSONField(name = "price")
	public long getPrice() {
		return price;
	}

	public void setPrice(long price) {
		this.price = price;
	}

	@JSONField(name = "national_code")
	public String getNationalCode() {
		return nationalCode;
	}

	public void setNationalCode(String nationalCode) {
		this.nationalCode = nationalCode;
	}

	@JSONField(name = "country")
	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	@JSONField(name = "province")
	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	@JSONField(name = "city")
	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	@JSONField(name = "district")
	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	@JSONField(name = "express_package_info_list")
	public List<GoodExpressPackage> getExpressPackageInfoList() {
		return expressPackageInfoList;
	}

	public void setExpressPackageInfoList(List<GoodExpressPackage> expressPackageInfoList) {
		this.expressPackageInfoList = expressPackageInfoList;
	}

	@Override
	public String toString() {
		return "GoodExpress{" +
				"name='" + name + '\'' +
				", phone='" + phone + '\'' +
				", address='" + address + '\'' +
				", price=" + price +
				", nationalCode='" + nationalCode + '\'' +
				", country='" + country + '\'' +
				", province='" + province + '\'' +
				", city='" + city + '\'' +
				", district='" + district + '\'' +
				", expressPackageInfoList=" + expressPackageInfoList +
				'}';
	}
}
